package com.weds.edpf.core.entity;

import com.weds.core.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.validation.constraints.Digits;
import javax.validation.constraints.Size;

public class TtLizhiEntity extends BaseEntity implements Serializable {
    /**
     *
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    @Size(max = 20)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String ttName;

    /**
     *
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private Short ttOrder;

    /**
     *
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    @Size(max = 100)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String tt1;

    /**
     *
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    @Size(max = 100)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String tt2;

    /**
     *
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    @Size(max = 100)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String tt3;

    /**
     *
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    @ApiModelProperty(required = true, dataType = "int", example = "-1", value = "")
    private Integer tt5;

    /**
     *
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    @Size(max = 50)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String glyNo;

    /**
     *
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    @Size(max = 2147483647)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String tt4;

    /**
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    private static final long serialVersionUID = 1L;

    private String keys;

    /**
     * This method returns the value of the database column tt_lizhi.tt_name
     *
     * @return the value of tt_lizhi.tt_name
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    public String getTtName() {
        return ttName;
    }

    /**
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    public TtLizhiEntity withTtName(String ttName) {
        this.setTtName(ttName);
        return this;
    }

    /**
     * This method sets the value of the database column tt_lizhi.tt_name
     *
     * @param ttName the value for tt_lizhi.tt_name
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    public void setTtName(String ttName) {
        this.ttName = ttName;
    }

    /**
     * This method returns the value of the database column tt_lizhi.tt_order
     *
     * @return the value of tt_lizhi.tt_order
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    public Short getTtOrder() {
        return ttOrder;
    }

    /**
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    public TtLizhiEntity withTtOrder(Short ttOrder) {
        this.setTtOrder(ttOrder);
        return this;
    }

    /**
     * This method sets the value of the database column tt_lizhi.tt_order
     *
     * @param ttOrder the value for tt_lizhi.tt_order
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    public void setTtOrder(Short ttOrder) {
        this.ttOrder = ttOrder;
    }

    /**
     * This method returns the value of the database column tt_lizhi.tt_1
     *
     * @return the value of tt_lizhi.tt_1
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    public String getTt1() {
        return tt1;
    }

    /**
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    public TtLizhiEntity withTt1(String tt1) {
        this.setTt1(tt1);
        return this;
    }

    /**
     * This method sets the value of the database column tt_lizhi.tt_1
     *
     * @param tt1 the value for tt_lizhi.tt_1
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    public void setTt1(String tt1) {
        this.tt1 = tt1;
    }

    /**
     * This method returns the value of the database column tt_lizhi.tt_2
     *
     * @return the value of tt_lizhi.tt_2
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    public String getTt2() {
        return tt2;
    }

    /**
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    public TtLizhiEntity withTt2(String tt2) {
        this.setTt2(tt2);
        return this;
    }

    /**
     * This method sets the value of the database column tt_lizhi.tt_2
     *
     * @param tt2 the value for tt_lizhi.tt_2
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    public void setTt2(String tt2) {
        this.tt2 = tt2;
    }

    /**
     * This method returns the value of the database column tt_lizhi.tt_3
     *
     * @return the value of tt_lizhi.tt_3
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    public String getTt3() {
        return tt3;
    }

    /**
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    public TtLizhiEntity withTt3(String tt3) {
        this.setTt3(tt3);
        return this;
    }

    /**
     * This method sets the value of the database column tt_lizhi.tt_3
     *
     * @param tt3 the value for tt_lizhi.tt_3
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    public void setTt3(String tt3) {
        this.tt3 = tt3;
    }

    /**
     * This method returns the value of the database column tt_lizhi.tt_5
     *
     * @return the value of tt_lizhi.tt_5
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    public Integer getTt5() {
        return tt5;
    }

    /**
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    public TtLizhiEntity withTt5(Integer tt5) {
        this.setTt5(tt5);
        return this;
    }

    /**
     * This method sets the value of the database column tt_lizhi.tt_5
     *
     * @param tt5 the value for tt_lizhi.tt_5
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    public void setTt5(Integer tt5) {
        this.tt5 = tt5;
    }

    /**
     * This method returns the value of the database column tt_lizhi.gly_no
     *
     * @return the value of tt_lizhi.gly_no
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    public String getGlyNo() {
        return glyNo;
    }

    /**
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    public TtLizhiEntity withGlyNo(String glyNo) {
        this.setGlyNo(glyNo);
        return this;
    }

    /**
     * This method sets the value of the database column tt_lizhi.gly_no
     *
     * @param glyNo the value for tt_lizhi.gly_no
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    public void setGlyNo(String glyNo) {
        this.glyNo = glyNo;
    }

    /**
     * This method returns the value of the database column tt_lizhi.tt_4
     *
     * @return the value of tt_lizhi.tt_4
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    public String getTt4() {
        return tt4;
    }

    /**
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    public TtLizhiEntity withTt4(String tt4) {
        this.setTt4(tt4);
        return this;
    }

    /**
     * This method sets the value of the database column tt_lizhi.tt_4
     *
     * @param tt4 the value for tt_lizhi.tt_4
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    public void setTt4(String tt4) {
        this.tt4 = tt4;
    }

    public String getKeys() {
        return keys;
    }

    public void setKeys(String keys) {
        this.keys = keys;
    }

    /**
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", ttName=").append(ttName);
        sb.append(", ttOrder=").append(ttOrder);
        sb.append(", tt1=").append(tt1);
        sb.append(", tt2=").append(tt2);
        sb.append(", tt3=").append(tt3);
        sb.append(", tt5=").append(tt5);
        sb.append(", glyNo=").append(glyNo);
        sb.append(", tt4=").append(tt4);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append(", keys=").append(keys);
        sb.append("]");
        return sb.toString();
    }

    /**
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        TtLizhiEntity other = (TtLizhiEntity) that;
        return (this.getTtName() == null ? other.getTtName() == null : this.getTtName().equals(other.getTtName()))
            && (this.getTtOrder() == null ? other.getTtOrder() == null : this.getTtOrder().equals(other.getTtOrder()))
            && (this.getTt1() == null ? other.getTt1() == null : this.getTt1().equals(other.getTt1()))
            && (this.getTt2() == null ? other.getTt2() == null : this.getTt2().equals(other.getTt2()))
            && (this.getTt3() == null ? other.getTt3() == null : this.getTt3().equals(other.getTt3()))
            && (this.getTt5() == null ? other.getTt5() == null : this.getTt5().equals(other.getTt5()))
            && (this.getGlyNo() == null ? other.getGlyNo() == null : this.getGlyNo().equals(other.getGlyNo()))
            && (this.getTt4() == null ? other.getTt4() == null : this.getTt4().equals(other.getTt4()));
    }

    /**
     *
     * @mbg.generated Tue Jun 02 12:56:16 CST 2020
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getTtName() == null) ? 0 : getTtName().hashCode());
        result = prime * result + ((getTtOrder() == null) ? 0 : getTtOrder().hashCode());
        result = prime * result + ((getTt1() == null) ? 0 : getTt1().hashCode());
        result = prime * result + ((getTt2() == null) ? 0 : getTt2().hashCode());
        result = prime * result + ((getTt3() == null) ? 0 : getTt3().hashCode());
        result = prime * result + ((getTt5() == null) ? 0 : getTt5().hashCode());
        result = prime * result + ((getGlyNo() == null) ? 0 : getGlyNo().hashCode());
        result = prime * result + ((getTt4() == null) ? 0 : getTt4().hashCode());
        return result;
    }
}